package com.ceshiren.mini.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel("测试计划实体类")
public class PlanTestCasesDTO {

    /**
     * 主键 测试计划ID
     */
    private Integer id;

    //测试计划名称
    @ApiModelProperty(value = "测试计划名称")
    private String name;


    //对应测试用例列表 testCaseListId
    @ApiModelProperty(value = "对应查询时测试用例列表",example = "[1,4,99]")
    List<TestCaseDTO> testcases;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<TestCaseDTO> getTestcases() {
        return testcases;
    }

    public void setTestcases(List<TestCaseDTO> testcases) {
        this.testcases = testcases;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    @Override
    public String toString() {
        return "PlanTestCasesDTO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", testcases=" + testcases +
                '}';
    }
}
